package test1230am;

public class Test07 {
    public static void main(String[] args) {

        // (7)求10-20之间的偶数的个数
        int count = 0;

        for (int i = 10; i <= 20; i++) {
            if (i % 2 == 0) {
                count++;
            }
        }

        System.out.println("10到20之间的偶数个数是: " + count);
    }
}
